package example.hellosecurity.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data  //提供get()set()方法
@NoArgsConstructor // 提供无参
@AllArgsConstructor //提供有参
public class User {
    private  int id;
    private  String username;  //用户名
    private  String password;  //用户密码

}
